package com.tuozixuan.camel.clazz;

import org.apache.camel.Body;
import org.springframework.stereotype.Component;

@Component
public class CustomClassBean {
    
    private String prefix;
    
    public void print(@Body String body) {
        System.out.println(prefix + body);
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }
}
